@use "sass:math";
*{
    padding: 0;
    margin: 0;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}
.w{
    width: 1200px;
    height: 100%;
    margin: 0 auto;
}


//顶部广告
.top-img{
    width: 100%;
    height: 90px;
    text-align: center;
    position: relative;
    & > a{
        width: 100%;
        height: 90px;
        text-align: center;
        & > img{
            width: 1200px;
            height: 90px;
        }
    }
    div{
        width: 24px;
        height: 24px;
        position: absolute;
        top: 10px;
        left: 50%;
        margin-left: 600px-25px;
        a{
            color: #fff;
        }
    }
}

//导航栏
.shortcut{
    width: 100%;
    height: 36px;
    background-color: #3a3a3a;
    .layout{
        @extend .w;
        height: 36px;
        display: flex;
        justify-content: space-between;
        .s-sub, .s-main{
            height: 36px;
            & > ul{
                position: relative;
                & > li{
                    padding-right: 8px;
                }
                & > li+li{
                    ::before{
                        content: "|";
                        color: #afafaf;
                        margin-right: 8px;
                    }
                }
                & > li{
                    float: left;
                    line-height: 36px;

                    a {
                        color: #afafaf;
                        font: 12px/1.5 "Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
                    }
                }
                & > .a{
                    width: 74px;
                    position: absolute;
                    left: 409px;
                    top:12px;
                    font-size: 12px;
                    a{
                        color: #afafaf;
                    }
                    .b{
                        width: 150px;
                        height: 150px;
                        position: relative;
                        left: -100px;
                        background-color: #fff;
                        text-align: center;
                        p:first-child{
                            margin-top: 18px;
                        }
                        font-size: 16px;
                        p{
                            margin-top: 15px;
                            a{
                                color: #777;
                            }
                        }
                        z-index: 3;
                        display: none;
                    }
                }
                .hide{
                    float: left;
                    line-height: 36px;
                    margin-top: 12px;
                    :last-child{
                        display: none;
                    }
                    a{
                        display: block;
                        color: #afafaf;
                        font: 12px/1.5 "Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
                    }
                }

                
            }
        }
        .s-main{
            li:last-child{
                background-color: #424242;
            }
            li:nth-child(2){
                ::before{
                    content: "";
                }
            }
        }
    }
}

//头部
.header{
    width: 100%;
    height: 41px;
    min-width: 1200px;
    padding: 18px 0 15px 0;
    position: relative;
    .layout{
        @extend .w;
        height: 41px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .left{
            .logo{
                width: 205px;
                height: 41px;
                float: left;
                margin-right: 34px;
                a{
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
            }
            .naver{
                height: 41px;
                float: left;
                ul{
                    height: 41px;
                    li{
                        float: left;
                        margin-right: 24px;
                    }
                    :first-child{
                        margin-top: 4px;
                        img{
                            width: 74px;
                            height: 24px;
                        }
                    }
                    li+li{
                        a{
                            line-height: 41px;
                        font-size: 16px;
                        color:#333;
                        }
                    }
                }
            }
        };
        //搜索框
        .right{
            width: 240px;
            height: 36px;
            background-color: #F0F0F0;
            border-radius: 24px;
            overflow: hidden;
            .searchBar{
                width: 205px-2;
                height: 35px-2;
                float: left;
                border: 1px solid transparent;
                outline: none;
                text-indent: 20px;
                background-color: #f0f0f0;
            }
            .searchBtn{
                width: 35px;
                height: 36px;
                line-height: 36px;
                text-align: center;
                .icon-sousuo{
                    font-size: 24px;
                    color: #222;
                }
            }
        }
    }
}

//轮播图
.swiper{
    width: 100%;
    height: 550px;
    position: relative;
    & > .auto{
        width: 100%;
        height: 550px;
        overflow: hidden;
        border-bottom-left-radius: 20%;
        border-bottom-right-radius: 20%;
        & > li{
            height: 550px;
            background: 50% 0 no-repeat;
            display: none;
        }
        .show{
            display: block;
        }
    }
    overflow: hidden;
    .wrap{
        @extend .w;
        position: absolute;
        top: 0;
        left: 50%;
        z-index: 1;
        margin-left: -(math.div(1200px,2));
        .wrap_2{
            width: 100%;
            height: 100%;
            position: relative;
            & > ul{
                width: 20px * 7;
                height: 20px;
                display: flex;
                justify-content: space-around;
                align-items: center;
                position: absolute;
                top: 448px;
                right: 0;
                z-index: 666;
                li{
                    width: 12px;
                    height: 12px;
                    border: 1px solid #fff;
                    border-radius: 50%;
                }
                .active{
                    background-color: #6ff;
                }
                
            }
            .prev{
                width: 60px;
                height: 60px;
                position: absolute;
                left: 220px;
                top: 220px;
                background-color: rgba(0,0,0,0.1);
                border-radius: 50%;
                text-align: center;
                line-height: 60px;
                .icon-zuojiantou{
                    color: #fff;
                    font-size: 32px;
                }
            }
            .next{
                width: 60px;
                height: 60px;
                position: absolute;
                left: 1130px;
                top: 220px;
                background-color: rgba(0,0,0,0.1);
                border-radius: 50%;
                text-align: center;
                line-height: 60px;
                .icon-youjiantou{
                    color: #fff;
                    font-size: 32px;
                }
            }
            //目录栏
            .category{
                width: 200px;
                height: 440px;
                position: absolute;
                top: 18px;
                left: 0;
                background-color: rgba(255,255,255,0.95);
                & > ul{
                    width: 200px;
                    height: 440px;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    position: relative;
                    li:first-child{
                        margin-top: 10px;
                    };
                    li:last-child{
                        margin-bottom: 10px;
                    };
                    li{
                        margin-left: 16px;
                        span{
                            float: left;
                            color: #848484;
                            font-size: 14px;
                        }
                        em{
                            float: right;
                            margin-right: 20px;
                        }
                        div{
                            width: 500px;
                            height: 440px;
                            position: absolute;
                            top:0;
                            left: 200px;
                            background-color: #fff;
                            display: none;
                            .catelist{
                                height: 440px;
                                display: flex;
                                flex-direction: column;
                                align-items: flex-start;
                                align-content: space-between;
                                flex-wrap: wrap;
                                li{
                                    width: 250px;
                                    height: 110px;
                                    display: flex;
                                    justify-content: space-between;
                                    align-items: center;
                                    .catepic{
                                        width: 80px;
                                        height: 50px;
                                        img{
                                            width: 100%;
                                            height: 100%;
                                        }
                                    }
                                    .catep{
                                        width: 120px;
                                        height: 26px;
                                        line-height: 26px;
                                        font-size: 20px;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}


//内容区域
.menu{
    width: 100%;
    & > .layout{
        @extend .w;
        position: relative;
        //floor区域
        .floor{
            width: 1200px;
            height: 200px;
            margin-top: 34px;
            position: relative;
            z-index: 4;
            .flr{
                width: 1200px;
                height: 88px;
                position: absolute;
                top: -104px;
                left: 0;
                background-color: #fff;
                border-radius: 15px;
                box-shadow: 0px -3px 2px 0px rgb(187, 185, 185) inset;
                & > ul{
                    position: relative;
                    & > li{
                        border-radius: 0;
                        float: left;
                    }
                    .fone{
                        width: 270px;
                        height: 55px;
                        margin-top: 17px;
                        border-right: 1px solid #ccc;
                        .f-p{
                            float: left;
                            margin-left: 36px;
                            width: 52px;
                            height: 52px;
                        };
                        .f-n{
                            position: relative;
                            .nd{
                                margin-top: 1px;
                                font-size: 14px;
                                color: #999;
                                a{
                                    color: #333;
                                }
                            }
                            .nc{
                                margin-top: 6px;
                                font-size: 13px;
                                .new{
                                    width: 66px;
                                    height: 20px;
                                    line-height: 20px;
                                    background: #fff;
                                    border: 1px solid #e47b7f;
                                    color: #de5b60;
                                    margin-right: 8px;
                                    border-radius: 5px;
                                    margin-left: 8px;
                                    padding: 1px;
                                    a {
                                        cursor: pointer;
                                    }
                                }
                                .vip{
                                    display: inline-block;
                                    width: 68px;
                                    height: 22px;
                                    text-align: center;
                                    line-height: 22px;
                                    background: #595454;
                                    color: #fde4b3;
                                    border-radius: 5px;
                                }
                            }
                        }
                    }
                    .ftwo{
                        width: 660px;
                        height: 64px;
                        margin-top: 17px;
                        ul{
                            display: flex;
                            justify-content: space-between;
                            li{
                                width: 106px;
                                height: 64px;
                                a{
                                    .p-img{
                                        overflow: hidden;
                                        display: block;
                                        width: 40px;
                                        height: 40px;
                                        margin: 0 22px;
                                        img{
                                            width: 300px;
                                            height: 40px;
                                        }
                                    }
                                    .p-dec{
                                        display: block;
                                        width: 84px;
                                        height: 24px;
                                        line-height: 24px;
                                        text-align: center;
                                        color: #777;
                                        font-size: 12px;
                                    }
                                }
                            }
                        }
                    };
                    .fthree{
                        width: 266px;
                        height: 88px;
                        border-left: 1px solid #ccc;
                    }
                }
            }
            ul{
                display: flex;
                justify-content: space-between;
                margin-bottom: 13px;
                li{
                    width: 290px;
                    height: 200px;
                    border-radius: 15px;
                    overflow: hidden;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        };
        .hotItem{
            width: 1200px;
            height: 670px;
            margin-top: 13px;
            // background-color: #ccc;
            .h{
                h2{
                    font-size: 26px;
                    font-weight: 400;
                    color: #333;
                    padding: 27px 0 13px 0;
                }
            }
            .clearfix{
                height: 604px;
                .span-232{
                    float: left;
                    width: 232px;
                    height: 604px;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
                .span-968{
                    float: left;
                    width: 968px;
                    height: 604px;
                    ul{
                        width: 968px;
                        height: 604px;
                        li{
                            float: left;
                            width: 230px;
                            height: 290px;
                            margin-left: 12px;
                            margin-bottom: 12px;
                            .grid-img{
                                width: 150px;
                                height: 150px;
                                margin: 35px auto 0;
                                img{
                                    width: 100%;
                                    height: 100%;
                                }
                            }
                            .grid-title{
                                width: 210px;
                                display: block;
                                margin: 0 auto;
                                padding: 0;
                                margin-top: 12px;
                                height: 21px;
                                line-height: 21px;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                font-size: 14px;
                                font-weight: 400;
                                color: #3a3a3a;
                                text-align: center;
                            }
                            .grid-desc{
                                color: #777;
                                line-height: 18px;
                                padding: 0 10px;
                                margin: 2px 20px 7px;
                                text-align: center;
                                font-size: 12px;
                                font-weight: 400;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                            }
                            .grid-price{
                                color: #d0021b;
                                line-height: 21px;
                                margin-bottom: 0;
                                font-size: 14px;
                                font-weight: 400;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                text-align: center;
                            }
                        }
                    }
                }
            }
        }
    }
}


//悬浮工具栏
.back{
    width: 80px;
    position: fixed;
    bottom: 20px;
    right: 10px;
    box-shadow: 0px 0px 5px 0px gray inset;
    z-index: 999;
    ul{
        li{
            width: 80px;
            height: 56px;
            padding-top: 12px;
            a{
                div{
                    width: 40px;
                    height: 40px;
                    margin: 0 auto;
                    text-align: center;
                    .iconfont{
                        color: #777;
                        font-size: 30px;
                    }
                }
                i{
                    color: #999;
                    display: block;
                    line-height: 16px;
                    text-align: center;
                    font-style:normal;
                    font-size: 12px;
                }
            }
            
        }
        .totop{
            display: none;
        }
    }
}

//尾部
.footer{
    width: 100%;
    position: relative;
    margin-top: 60px;
    background-color: #f9f9f9;
    //口号
    .slogan-container{
        height: 82px;
        .slogan{
            width: 1200px;
            height: 40px;
            padding: 22px 0 20px;
            margin: 0 auto;
            ul{
                width: 1200px;
                height: 40px;
                display: flex;
                justify-content: space-between;
                li{
                    text-align: center;
                    a{
                        font-size: 18px;
                        color: #333;
                        i{
                            display: inline-block;
                            vertical-align: middle;
                            width: 39px;
                            height: 39px;
                            line-height: 39px;
                            margin-right: 15px;
                            border: 1px solid red;
                            border-radius: 50%;
                            color: red;
                            font-size: 28px;
                        }
                    }
                }
            }
        }
    }
    //服务
    .service-container{
        width: 100%;
        height: 211px;
        .service{
            border-top: 1px solid #E5E5E5;
            border-bottom: 1px solid #E5E5E5;
            padding: 23px 0 24px;
            width: 1200px;
            height: 162px;
            margin: 0 auto;
            .service-l{
                float: left;
                width: 920px;
                height: 155px;
                padding-top: 5px;
                border-right: 1px solid #e5e5e5;
                color: #3a3a3a;
                dl{
                    width: 16.66667%;
                    float: left;
                    display: block;
                    dt{
                        font-size: 14px;
                        color: #3A3A3A;
                        p{
                            font-size: 14px!important;
                            padding-bottom: 7px;
                            color: #333;
                            display: block;
                            border-left: none;
                            padding-left: 0;
                            line-height: 1.5!important;
                            margin-bottom: 0!important;
                        }
                    }
                    dd{
                        display: block;
                        ol{
                            list-style: none;
                            li{
                                a{
                                    line-height: 22px;
                                    color: #777;
                                    font-size: 12px;
                                }
                            }
                        }
                    }
                }
            }
            .service-r{
                width: 278px;
                min-height: 160px;
                margin-top: 2px;
                text-align: center;
                float: left;
                dl{
                    width: 279px;
                    dt{
                        p{
                            color: #575757;
                            font-weight: bold;
                            font-size: 24px;
                        }
                    }
                    dd{
                        font-size: 14px;
                        color: #333;
                        ol{
                            list-style: none;
                            li{
                                a{
                                    color: #575757;
                                }
                            }
                        }
                        & > a{
                            display: block;
                            width: 170px;
                            height: 34px;
                            padding: 0;
                            margin: 0 auto;
                            margin-top: 10px;
                            font-size: 14px;
                            line-height: 34px;
                            background: #333;
                            cursor: pointer;
                            border-radius: 17px;
                            font-size: 14px;
                            color: #fff;
                            i{
                                display: inline-block;
                                height: 20px;
                                line-height: 20px;
                                width: 20px;
                                margin-right: 6px;
                                vertical-align: middle;
                            }
                        }
                    }
                }
                .service_code{
                    float: left;
                    width: 250px;
                    margin-top: 26px;
                    margin-left: 40px;
                    h2{
                        font-size: 14px;
                        color: #333;
                        float: left;
                        font-weight: 400;
                    }
                    ul{
                        float: left;
                        margin-left: 3px;
                        li{
                            width: 24px;
                            height: 24px;
                            margin-right: 11px;
                            position: relative;
                            float: left;
                            a{
                                color: #3a3a3a;
                            }
                        }
                    }
                }
            }
        }
    }
    //底部
    .foot-container{
        width: 100%;
        min-width: 1200px;
        height: 134px;
        .foot{
            padding: 25px 0 28px;
            width: 1200px;
            margin: 0 auto;
            color: #666;
            line-height: 1.5;
            .foot-area{
                text-align: left;
                color: #a4a4a4;
                line-height: 20px;
                font-size: 12px;
                .foot-log{
                    float: left;
                    width: 82px;
                    height: 20px;
                    padding: 3px 20px 0 0;
                    a{
                        display: block;
                        width: 100%;
                        height: 100%;
                        img{
                            width: 82px;
                            height: 20px;
                        }
                    }
                }
                & > div{
                    float: left;
                    ul{
                        margin-top: 3px;
                        margin-bottom: 6px;
                        display: block;
                        height: 12px;
                        li{
                            float: left;
                            line-height: 1;
                            padding-right: 6px;
                            border-right: 1px solid #d3d3d3;
                            margin-right: 6px;
                            a{
                                color: #777;
                                font-size: 12px;
                            }
                        }
                    }
                    & > a{
                        color: #a4a4a4;
                        font-size: 12px;
                    }
                }
                .foot-img{
                    float: right;
                    margin-top: 2px;
                    width: 278px;
                    text-align: center;
                    a{
                        display: inline-block;
                        width: 100px;
                        margin: 0 5px;
                        color: #a4a4a4;
                        img{
                            vertical-align: top;
                            width: 100px
                        }
                    }
                }
            }
        }
    }
}
